package com.ldcc.report_system.api.results;

/**
 * @author wwg
 * @version JDK 11
 * @description 版本更新返回数据
 * @create 2021-10-29 14:44
 **/
public class UpdateAppInfo {

    private String appName;
    private String versionName;
    private Integer serverVersionCode;
    private String originalName;
    private Integer isForce;
    private String updateUrl;
    private String updateInfo;

    public UpdateAppInfo() {
    }

    public UpdateAppInfo(String appName, String versionName, Integer serverVersionCode, String originalName, Integer isForce, String updateUrl, String updateInfo) {
        this.appName = appName;
        this.versionName = versionName;
        this.serverVersionCode = serverVersionCode;
        this.originalName = originalName;
        this.isForce = isForce;
        this.updateUrl = updateUrl;
        this.updateInfo = updateInfo;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public Integer getServerVersionCode() {
        return serverVersionCode;
    }

    public void setServerVersionCode(Integer serverVersionCode) {
        this.serverVersionCode = serverVersionCode;
    }

    public String getOriginalName() {
        return originalName;
    }

    public void setOriginalName(String originalName) {
        this.originalName = originalName;
    }

    public Integer getIsForce() {
        return isForce;
    }

    public void setIsForce(Integer isForce) {
        this.isForce = isForce;
    }

    public String getUpdateUrl() {
        return updateUrl;
    }

    public void setUpdateUrl(String updateUrl) {
        this.updateUrl = updateUrl;
    }

    public String getUpdateInfo() {
        return updateInfo;
    }

    public void setUpdateInfo(String updateInfo) {
        this.updateInfo = updateInfo;
    }

    @Override
    public String toString() {
        return "UpdateAppInfo{" +
                "appName='" + appName + '\'' +
                ", versionName='" + versionName + '\'' +
                ", serverVersionCode=" + serverVersionCode +
                ", originalName='" + originalName + '\'' +
                ", isForce=" + isForce +
                ", updateUrl='" + updateUrl + '\'' +
                ", updateInfo='" + updateInfo + '\'' +
                '}';
    }
}
